package cn.edu.ujn.project.supermarket.domain;

import cn.edu.ujn.project.common.annotation.Excel;
import cn.edu.ujn.project.common.core.domain.BaseEntity;

/**
 * 报表对象 purchase_report
 * 
 * @author zhaomh
 * @date 2023-11-14
 */
public class PurchaseReport extends BaseEntity
{
    protected static final long serialVersionUID = 1L;

    /** 记录主键 */
    @Excel(name = "记录主键")
    protected String supplierId;

    /** 报表单号 */
    @Excel(name = "报表单号")
    protected String purchaseReportId;

    /** 商品号 */
    @Excel(name = "商品号")
    protected String barCode;

    /** 数量 */
    @Excel(name = "数量")
    protected Integer quantity;

    /** 申请人 */
    @Excel(name = "申请人")
    protected String application;

    public PurchaseReport() {
		super();
	}

    public PurchaseReport(String supplierId, String purchaseReportId, String barCode) {
        super();
        this.supplierId = supplierId;
        this.purchaseReportId = purchaseReportId;
        this.barCode = barCode;
        this.quantity = null;
        this.application = null;
    }

	public PurchaseReport(String supplierId, String purchaseReportId, String barCode, Integer quantity,
			String application) {
		super();
		this.supplierId = supplierId;
		this.purchaseReportId = purchaseReportId;
		this.barCode = barCode;
		this.quantity = quantity;
		this.application = application;
	}
	public PurchaseReport(PurchaseReport p){
		super();
		this.supplierId = p.supplierId;
		this.purchaseReportId = p.purchaseReportId;
		this.barCode = p.barCode;
		this.quantity = p.quantity;
		this.application = p.application;
	}
	
    

	public String getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(String supplierId) {
		this.supplierId = supplierId;
	}

	public String getPurchaseReportId() {
		return purchaseReportId;
	}

	public void setPurchaseReportId(String purchaseReportId) {
		this.purchaseReportId = purchaseReportId;
	}

	public void setBarCode(String barCode) 
    {
        this.barCode = barCode;
    }

    public String getBarCode() 
    {
        return barCode;
    }
    public void setQuantity(Integer quantity) 
    {
        this.quantity = quantity;
    }

    public Integer getQuantity() 
    {
        return quantity;
    }
    public void setApplication(String application) 
    {
        this.application = application;
    }

    public String getApplication() 
    {
        return application;
    }

    @Override
	public String toString() {
		return "PurchaseReport [supplierId=" + supplierId + ", purchaseReportId=" + purchaseReportId + ", barCode="
				+ barCode + ", quantity=" + quantity + ", application=" + application + "]";
	}
}
